package com.my.autoassociate.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.my.autoassociate.entity.User;
import com.my.autoassociate.mapper.UserMapper;
import com.my.autoassociate.service.UserService;
import io.gitee.mayan50.autoassociate.annotation.AutoAssociate;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

    @Override
    @AutoAssociate
    public User findById(Long id) {
        return baseMapper.findById(id);
    }

}
